package com.tencent.sr.iris.basic.saas.service.dto.request;

import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;

@Data
public class StationMessagePreviewRequest {
    @NotBlank(
            message = "商品或活动id不能为空"
    )
    @ApiModelProperty("商品或活动id")
    private String id;

    @NotNull(
            message = "链接类型不能为空"
    )
    @ApiModelProperty("链接类型，0-商品链接 1-活动链接 2-团长任务")
    private Byte linkType;

    @ApiModelProperty("要打开的小程序版本。正式版为 release，体验版为 trial，开发版为 develop，默认release")
    private String envVersion;

    @ApiModelProperty("消息id")
    private String messageId;
}
